<!-- Mieux notes -->
<div class="center_title_bar">
    ${requestScope['titre']}
</div>

<table border="0">
<c:set var="nb" value="0"/>

<c:if test="${requestScope['nombreElem'] == 0}" >
    Aucun jeu correspondant
</c:if>

    <div class="result">
<c:forEach var="u" items="${requestScope['listeJeux']}">
    <c:if test="${nb == 0}" >
        <tr>
    </c:if>
    <td><div class="prod_box">
            <div class="top_prod_box"></div>
        <div class="center_prod_box">
             <div class="product_title"><a href="ServletAction?action=detail&id=${u.id}">${u.nom}</a></div>
             <div class="product_img" style="height: 171px"><a href="ServletAction?action=detail&id=${u.id}"><img src="images/jeux/${u.listeImg[0]}" alt="" title="" border="0" /></a></div>
             <div class="prod_price"><span class="price">${u.prix} &#8364;</span></div>
        </div>
        <div class="bottom_prod_box"></div>
        <div class="prod_details_tab">
        <a href="javascript:addToPanier(${u.id})" title="ajout express"><img src="images/cart.gif" alt="" title="" border="0" class="left_bt" /></a>
        <a href="" title="note">

            <c:if test="${u.note>0.0 && u.note<=0.5}" >
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
            </c:if>
            <c:if test="${u.note>0.5 && u.note<=1.5}" >
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
            </c:if>
            <c:if test="${u.note>1.5 && u.note<=2.5}" >
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
            </c:if>
            <c:if test="${u.note>2.5 && u.note<=3.5}" >
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
            </c:if>
            <c:if test="${u.note>3.5 && u.note<=4.5}" >
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favko.gif" alt="" title="" border="0" class="left_bt" />
            </c:if>
            <c:if test="${u.note>4.5 && u.note<=5}" >
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
                <img src="images/favok.gif" alt="" title="" border="0" class="left_bt" />
            </c:if>

            </a>
        <a href="ServletAction?action=detail&id=${u.id}" class="prod_details">details</a>
        </div>
    </div></td>
    <c:set var="nb" value="${nb+1}"/>
    <c:if test="${nb == 3}" >
        </tr>
        <c:set var="nb" value="0"/>
    </c:if>
</c:forEach>
    </div>
</table>
